import postApi from "../../utils/http/api";

export default {
  //获取测试题目列表
  getTestList(examId, subjectId) {
    return postApi({
      actionCode: "500100",
      method: "getExamInfoById",
      requestData: {
        "id": examId,
        "subjectId": subjectId
      },
    })
  },
  //提交测试
  submitTest(examId, subjectId, questionList, testTime) {

    console.log(testTime)

    return postApi({
      actionCode: "500100",
      method: "submitExamQuestion",
      requestData: {
        "examId": examId,
        "subjectId": subjectId,
        "questionList": questionList,
        "testTime": testTime
      },
    })
  },

}
